# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-json-logger
pkgver=0.1.11
pkgrel=0
pkgdesc="A python library adding a json log formatter"
url="https://github.com/madzak/python-json-logger"
arch="noarch"
license="BSD-2-Clause"
depends="py3-setuptools"
source="$pkgname-v$pkgver.tar.gz::https://github.com/madzak/python-json-logger/archive/v$pkgver.tar.gz"
builddir="$srcdir/"python-json-logger-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="de0e66fd99d5b763c1fe2574e0e2cfc8c1053b88adbbc9b7bf8a48027c1c14c141c1389a303f9dcc43a18671085abaef8650150ecd4a7c281a2a966de5f0f136  py3-json-logger-v0.1.11.tar.gz"
